import axiox from 'axios'
import {Message, MessageBox} from 'element-ui'
import store from '@/store'

const service = axiox.create({
  baseURL: 'https://www.easy-mock.com/mock/5b0e0bc19a9dc61094244547/today',
  timeout: 15000
})

service.interceptors.request.use(config => {
  console.log('axiox is excuting')
})

service.interceptors.response.use(response => {
  console.log('response.data = ' + response.data)
})

export default service
